<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>用户信息</title>
</head>
<body>user.bir
<!--/*@thymesVar id="users" type="com.mb.demo.entity.User"*/-->
<ul th:each="user:${users}">
    <li th:text="${user.id}"></li>
    <li th:text="${user.name}"></li>
    <li th:text="${user.age}"></li>
    <li th:text="${#dates.format(user.bir,'yyyy-MM-dd HH:mm:ss')}"></li>
    <br/>
</ul>
</body>
</html>
